< Prev(J) / Next(K) > / View :

Filename: /text/sbasic/shared/03131700.xhp

(section: getprocessservicemanager) (bookmark: bm_id3153255)
GetProcessServiceManager function
ProcessServiceManager

GetProcessServiceManager 関数
ProcessServiceManager

GetProcessServiceManager Function [Runtime]
GetProcessServiceManager 関数 [実行時](hd_id3153255.1)

Returns the ProcessServiceManager (central Uno ServiceManager).
ProcessServiceManager (セントラル Uno ServiceManager) を返します。(par_id3156414.2)

(/section: getprocessservicemanager)

This function is required when you want to instantiate a service using CreateInstanceWithArguments.
この関数は、CreateInstanceWithArguments を使ってサービスのインスタンスを作成する場合に必要となります。(par_id3145136.3)

Syntax:
構文:(hd_id3153681.4)

oServiceManager = GetProcessServiceManager()
oServiceManager = GetProcessServiceManager()(par_id3151110.5)

Example:
例:(hd_id3149516.6)

oServiceManager = GetProcessServiceManager()
oServiceManager = GetProcessServiceManager()(par_id3143270.7)

oIntrospection = oServiceManager.createInstance("com.sun.star.beans.Introspection");
oIntrospection = oServiceManager.createInstance("com.sun.star.beans.Introspection");(par_id3153825.8)

this is the same as the following statement:
これは、下記のステートメントと同等の働きをします。(par_id3148473.9)

oIntrospection = CreateUnoService("com.sun.star.beans.Introspection")
oIntrospection = CreateUnoService( "com.sun.star.beans.Introspection" )(par_id3145609.10)


< Prev / Next >